package my.assistant.homecashmanager.account.web;

import java.util.Iterator;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import my.assistant.homecashmanager.account.data.AccountBase;
import my.assistant.homecashmanager.account.domain.AccountDomain;

import org.assistant.common.exception.ImplementNotFoundException;
import org.assistant.common.utils.ClassUtils;
import org.assistant.common.web.servlet.mvc.Controller;
import org.assistant.common.web.servlet.mvc.ResultData;
import org.assistant.csp.data.Global;
import org.assistant.csp.data.UserSession;

public class AccountController extends Controller {
	private static final long serialVersionUID = -5630516289667656198L;
	private AccountDomain accountDomain;

	public AccountController() throws ImplementNotFoundException {
		accountDomain = ClassUtils.getInterfaceImplement(AccountDomain.class);
	}

	protected Object requestDispatcher(HttpServletRequest request,
			HttpServletResponse response, String methodName) {
		try {
			// if ("getCashAndBankAccounts".equals(methodName)) {
			// return getCashAndBankAccounts(request, response);
			// }
		} catch (Exception e) {
			e.printStackTrace();
		}
		return null;
	}
}
